package com.gpframework.module.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户和岗位关联 sys_user_post
 *
 * @Author gpframework
 */
public class SysUserPost {

    /**
     * 品牌id
     */
    private Long brandId;
    /**
     * 店铺id
     */
    private Long storeId;
    /**
     * 用户ID
     */
    private Long brandUserId;

    /**
     * 岗位ID
     */
    private Long brandPostId;

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public Long getBrandUserId() {
        return brandUserId;
    }

    public void setBrandUserId(Long brandUserId) {
        this.brandUserId = brandUserId;
    }

    public Long getBrandPostId() {
        return brandPostId;
    }

    public void setBrandPostId(Long brandPostId) {
        this.brandPostId = brandPostId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("brandId", getBrandId())
                .append("storeId", getStoreId())
                .append("brandUserId", getBrandUserId())
                .append("brandPostId", getBrandPostId())
                .toString();
    }
}
